//out:../css/
//导航
.navbar{
    height: 70px;
}
.bg-body-tertiary {
    background-color: rgba(17, 17, 17, 0.65) !important;
    backdrop-filter: blur(36px);
}

.navbar {
    transition: background-color 0.7s;

    .container{
        padding-top: 3.25px;
        padding-bottom: 3.25px;//.container要把.navbar内部撑满
    }
    .navbar-brand {
        font-size: 25px;
    }

    .navbar-collapse {
        flex-grow: 0;

        .nav-item{
            margin: 0 15px;

            a {
                color: white;
                font-size: 17px;
                position: relative;
            }
            a:after {
                display: block;
                content: "";
                height: 4px;
                width: 100%;
                position: absolute;
                bottom: 0;
                left: 0;
                background: #ffffff;
                opacity: 0;
                transition: all 0.25s ease-out;
                transform-origin: 50% 0%;
                transform: scale(0,1);
            }
            a:hover:after{
                transform: scale(0.8,1);
                opacity: 1;
            }
            
        }
        
    }
}

// 轮播图
.carousel {

    //指示器
    .carousel-indicators {
        bottom: 12%;
    }

    //轮播项
    .carousel-item {
        height: 100vh;
        // background-size: cover;
        // background-position: center 0;

        .slide-img {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center center;
            position: absolute;
            z-index: -10;
            -webkit-animation: slide 24s linear infinite;
            animation: slide 24s linear infinite;
        }

        .carousel-caption {
            bottom: 40%;
            .welcome-btn-group{
                position: absolute;
                top:120%;
                left:15%;
                right: 15%;
                .dts-btn {
                    transition: background-color 0.5s;
                    // position: relative;
                    // z-index: 1;
                    display: inline-block;
                    min-width: 150px;
                    height: 46px;
                    color: #ffffff;
                    background-color: transparent;
                    border: 2px solid #ffffff;
                    border-radius: 7px;
                    padding: 0 20px;
                    font-size: 16px;
                    line-height: 42px;
                    text-transform: uppercase;
                    font-weight: 600;
                }
    
                .dts-btn.active,
                .dts-btn:hover,
                .dts-btn:focus {
                    color: #ffffff;
                    background-color: #70c745;
                    border: 2px solid #70c745;
                    // font-weight: 600;
                    // font-size: 16px;
                    // box-shadow: none;
                }
            }
            
        }
    }

    //遮罩层
    .carousel-item::after {
        content: "";
        width: 100%;
        height: 100%;
        background-color: rgba(17, 17, 17, 0.4);
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }

    // .carousel-item:nth-child(1){
    //     background-image: url(../assets/img/bg-img/1.jpg);
    // }
}

//分割线
.b-example-divider {
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.featurette-divider {
    margin: 5rem 0;
}

//数据库
//图片遮罩层
div.marketing {
    .row {
        .animation {
            position: relative;
            transition: all 0.5s;
            display: flex;
            justify-content: center;

            .baseimg {
                transition-duration: 500ms;
                width: 404px;
                height: 303px;
                border-radius: 5%;
                background-repeat: no-repeat;
                background-size: cover;
                background-position: center center;
            }

            // .overlay {
            //     width: 404px;
            //     height: 303px;
            //     border-radius: 5%;
            //     background-image: linear-gradient(transparent,
            //             rgba(0, 0, 0, 0.2));
            //     position: absolute;
            //     top: 0;
            //     left: 77px;
            //     z-index: 10;

            //     opacity: 0;
            //     // visibility: hidden;
            //     transition: all 0.5s;
            // }

            // &:hover .overlay {
            //     opacity: 1;
            // }
        }

        .animation:hover{
            transform: translate(0, -7px);
        }

        .animation:hover .baseimg {
            box-shadow: 4px 10px 10px 1px rgba(0, 0, 0, .5);
        }
    }
}

//轮播动画
@-webkit-keyframes slide {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes slide {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

//返回顶部
#scrollUp {
    display: block;
    background-color: #ffffff;
    // border: 1px solid #000000;
    border-radius: 50%;
    bottom: -60px;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.3);
    color: #000000;
    font-size: 24px;
    height: 60px;
    line-height: 60px;
    right: 40px;
    text-align: center;
    width: 60px;
    transition: all 0.5s ease;
}

#scrollUp:hover {
    background-color: #303030;
    color: aliceblue;
}